///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "gui.h"

///////////////////////////////////////////////////////////////////////////

MainDialogBase::MainDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
	
	wxBoxSizer* mainSizer;
	mainSizer = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizer4;
	bSizer4 = new wxBoxSizer( wxHORIZONTAL );
	
	m_minuteTextCtrl = new wxTextCtrl( this, wxID_ANY, _("25"), wxDefaultPosition, wxSize( 60,-1 ), wxTE_CENTRE|wxTE_READONLY );
	bSizer4->Add( m_minuteTextCtrl, 0, wxALL, 5 );
	
	m_secondTextCtrl = new wxTextCtrl( this, wxID_SEC, _("00"), wxDefaultPosition, wxSize( 60,-1 ), wxTE_CENTRE|wxTE_READONLY );
	bSizer4->Add( m_secondTextCtrl, 0, wxALL, 5 );
	
	mainSizer->Add( bSizer4, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer5;
	bSizer5 = new wxBoxSizer( wxHORIZONTAL );
	
	m_set = new wxButton( this, wxID_ANY, _("Set"), wxDefaultPosition, wxSize( 60,-1 ), 0 );
	bSizer5->Add( m_set, 0, wxALL, 5 );
	
	m_start = new wxButton( this, wxID_ANY, _("Start"), wxDefaultPosition, wxSize( 60,-1 ), 0 );
	bSizer5->Add( m_start, 0, wxALL, 5 );
	
	mainSizer->Add( bSizer5, 1, wxEXPAND, 5 );
	
	this->SetSizer( mainSizer );
	this->Layout();
	
	this->Centre( wxBOTH );
	
	// Connect Events
	this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( MainDialogBase::OnCloseDialog ) );
	m_set->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MainDialogBase::OnSetButtonClick ), NULL, this );
	m_start->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MainDialogBase::OnStartButtonClick ), NULL, this );
}

MainDialogBase::~MainDialogBase()
{
	// Disconnect Events
	this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( MainDialogBase::OnCloseDialog ) );
	m_set->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MainDialogBase::OnSetButtonClick ), NULL, this );
	m_start->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MainDialogBase::OnStartButtonClick ), NULL, this );
	
}

DialogSet::DialogSet( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxGridSizer* gSizer1;
	gSizer1 = new wxGridSizer( 3, 2, 0, 0 );
	
	m_staticText7 = new wxStaticText( this, wxID_ANY, _("min"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
	m_staticText7->Wrap( -1 );
	gSizer1->Add( m_staticText7, 1, wxALL|wxEXPAND, 5 );
	
	m_staticText8 = new wxStaticText( this, wxID_ANY, _("sec"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
	m_staticText8->Wrap( -1 );
	gSizer1->Add( m_staticText8, 0, wxALL|wxEXPAND, 5 );
	
	m_min = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 45,-1 ), 0 );
	gSizer1->Add( m_min, 0, wxALL|wxEXPAND, 5 );
	
	m_sec = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 45,-1 ), 0 );
	gSizer1->Add( m_sec, 0, wxALL|wxEXPAND, 5 );
	
	m_buttonOk = new wxButton( this, wxID_OK, _("OK"), wxDefaultPosition, wxDefaultSize, 0 );
	gSizer1->Add( m_buttonOk, 0, wxALL, 5 );
	
	this->SetSizer( gSizer1 );
	this->Layout();
	
	this->Centre( wxBOTH );
	
	// Connect Events
	this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DialogSet::OnCloseDialogSet ) );
}

DialogSet::~DialogSet()
{
	// Disconnect Events
	this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DialogSet::OnCloseDialogSet ) );
	
}
